const router =require('express').Router();
const USER=require('../mock/user.js');

router.get('/',(req,res)=>{
    let token=req.header('Authorization');
	
	if(token !== 'Bearer '+USER.access_token)return res.send({
        code:1,
        msg:'access_token过期'
    });

    res.send({
    	code:0,
    	data:['/uploads/logo.png','/uploads/logo.png']
    });
});

module.exports=router;
